package com.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 检查项检验项处置项记录表(开立的)
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
@Schema(description = "检查记录实体类")
@TableName("non_drug_item_record")
public class NonDrugItemRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "检查记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "挂号id")
    private Long registrationid;

    @Schema(description = "状态：0 作废（删除）1未缴费 2未登记（已缴费） 3已登记 4已执行 5已退费 6已过期")
    private Integer status;

    @Schema(description = "登记状态")
    private Integer logstatus;

    @Schema(description = "结果")
    private String checkresult;

    @Schema(description = "结果图片链接")
    private String resultimgurllist;

    @Schema(description = "开立时间")
    private LocalDateTime createtime;

    @Schema(description = "执行医生id")
    private Long excutestaffid;

    @Schema(description = "登记时间")
    private LocalDateTime logdatetime;

    @Schema(description = "非药品id")
    private Long nodrugid;

    @Schema(description = "检查部位")
    private String checkparts;

    @Schema(description = "类型： 0检查 1检验  2处置")
    private Integer type;

    @Schema(description = "执行科室id")
    private Long excutedeptid;

    @Schema(description = "开立医生id")
    private Long createstaffid;

    @Schema(description = "登记医生id")
    private Long logstaffid;

    @Schema(description = "执行时间")
    private LocalDateTime excutetime;

    @Schema(description = "项目金额")
    private BigDecimal amount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getRegistrationid() {
        return registrationid;
    }

    public void setRegistrationid(Long registrationid) {
        this.registrationid = registrationid;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getLogstatus() {
        return logstatus;
    }

    public void setLogstatus(Integer logstatus) {
        this.logstatus = logstatus;
    }
    public String getCheckresult() {
        return checkresult;
    }

    public void setCheckresult(String checkresult) {
        this.checkresult = checkresult;
    }
    public String getResultimgurllist() {
        return resultimgurllist;
    }

    public void setResultimgurllist(String resultimgurllist) {
        this.resultimgurllist = resultimgurllist;
    }
    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }
    public Long getExcutestaffid() {
        return excutestaffid;
    }

    public void setExcutestaffid(Long excutestaffid) {
        this.excutestaffid = excutestaffid;
    }
    public LocalDateTime getLogdatetime() {
        return logdatetime;
    }

    public void setLogdatetime(LocalDateTime logdatetime) {
        this.logdatetime = logdatetime;
    }
    public Long getNodrugid() {
        return nodrugid;
    }

    public void setNodrugid(Long nodrugid) {
        this.nodrugid = nodrugid;
    }
    public String getCheckparts() {
        return checkparts;
    }

    public void setCheckparts(String checkparts) {
        this.checkparts = checkparts;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Long getExcutedeptid() {
        return excutedeptid;
    }

    public void setExcutedeptid(Long excutedeptid) {
        this.excutedeptid = excutedeptid;
    }
    public Long getCreatestaffid() {
        return createstaffid;
    }

    public void setCreatestaffid(Long createstaffid) {
        this.createstaffid = createstaffid;
    }
    public Long getLogstaffid() {
        return logstaffid;
    }

    public void setLogstaffid(Long logstaffid) {
        this.logstaffid = logstaffid;
    }
    public LocalDateTime getExcutetime() {
        return excutetime;
    }

    public void setExcutetime(LocalDateTime excutetime) {
        this.excutetime = excutetime;
    }
    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "NonDrugItemRecord{" +
                "id=" + id +
                ", registrationid=" + registrationid +
                ", status=" + status +
                ", logstatus=" + logstatus +
                ", checkresult=" + checkresult +
                ", resultimgurllist=" + resultimgurllist +
                ", createtime=" + createtime +
                ", excutestaffid=" + excutestaffid +
                ", logdatetime=" + logdatetime +
                ", nodrugid=" + nodrugid +
                ", checkparts=" + checkparts +
                ", type=" + type +
                ", excutedeptid=" + excutedeptid +
                ", createstaffid=" + createstaffid +
                ", logstaffid=" + logstaffid +
                ", excutetime=" + excutetime +
                ", amount=" + amount +
                "}";
    }
}
